package day03;

/**
 * 演示条件运算符
 */
public class OperDemo6 {
    public static void main(String[] args) {
        int num = 5;
        int flag = num>3?1:0;
        System.out.println(flag);

        int a=3,b=7;
        int max = a>b?a:b;
        System.out.println(max);


    }
}
